package com.nightpiter.view.graphics.factories;

import com.nightpiter.view.graphics.abstaractions.AbstractLinearGradient;

public abstract class LinearGradientFactory {

	private static LinearGradientFactory factory;

	public static LinearGradientFactory getFactory() {
		return factory;
	}

	public static void setFactory(LinearGradientFactory factory) {
		LinearGradientFactory.factory = factory;
	}

	public abstract AbstractLinearGradient create(float x0, float y0, float x1,
			float y1, int color0, int color1);

	public abstract AbstractLinearGradient create(float x0, float y0, float x1,
			float y1, int[] colors, float[] positions);

}
